//列表
import service from "@/utils/request";
export const login = (data) => {
    return service({
        url: '/token',
        data,
        method: 'post',
    })
}
export const register = (data) => {
    return service({
        url: '/user/register',
        data,
        method: 'post',
    })
}
export const uploadfiles = (data) => {
    return service({
        url: '/upload/uploadfiles',
        data,
        method: 'post',
        headers: {
            'Content-Type': 'multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW'
        }
    })
}